import { _decorator, Component, input, instantiate, Node, toDegree, Vec3 } from 'cc';
import EventManager from '../Global/EventManager';
import { EventEnum } from '../Enum';

const { ccclass, property } = _decorator;

@ccclass('ShootManager')
export class ShootManager extends Component {
 
    handleShoot(event: Event) {
       EventManager.Instance.emit(EventEnum.WeaponShoot)
       console.log('点击发射子弹');
    }

  
}

